Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-242456 | CNTR-K8-003230 | SV-242456r712724_rule | Medium |
Description |
---|
The Kubernetes kubelet agent registers nodes with the API server and performs health checks to containers within pods. If this file can be modified, the information system would be unaware of pod or container degradation. |
STIG | Date |
---|---|
Kubernetes Security Technical Implementation Guide | 2021-06-17 |
Check Text ( C-45731r712722_chk ) |
---|
Review the permissions of the Kubernetes config.yaml by using the command: stat -c %a /var/lib/kubelet/config.yaml If any of the files are have permissions more permissive than "644", this is a finding. |
Fix Text (F-45689r712723_fix) |
---|
Change the permissions of the config.yaml to "644" by executing the command: chown 644 /var/lib/kubelet/config.yaml |